package org.gordonframework.core.collection {
	import org.gordonframework.core.collection.GItem;
	
	/**
	 * 
	 * Generic GItem wrapper
	 * Can hold any type of object
	 * 
	 * @author eriarv
	 */
	public class GItemWrapper implements GItem {
		
		private var _id : String;
		private var _object : *;


		/**
		 * @param id - Item id
		 * @param object - Object identified by id
		 */
		public function GItemWrapper( id : String, object : * ) {
			_object = object;
			_id = id;
		}

		public function get id() : String {
			return _id;
		}
		
		public function get object() : * {
			return _object;
		}
	}
}
